<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="#" method="get" autocomplete="off">
    <label for="username">用户名:</label>
    <input type="text"id="username" name="username"><br/>

    <label for="password">用户名:</label>
    <input type="password" id="password" name="password"><br/>

    性别:<input type="radio" name="gender" value="men">男
    <input type="radio" name="gender" value="women">女
    <input type="radio" name="gender" value="other">其他<br/>

    爱好:<input type="checkbox" name="hobby" value="game">游戏
    <input type="checkbox" name="hobby" value="music">唱歌<br/>

    <label for="email">邮箱:</label>
    <input type="email" id="email" name="email" >

    <label for="birthday">生日:</label>
    <input type="date" id="birthday" name="birthday"><br/>

    <label for="upFile">文件上传:</label>
    <input type="file" id="upFile" name="upFile"><br/>

    <input type="hidden" id="hiddenMessage" name="hiddenMessage"><br/>
    所在城市:<select name="city">
    <optgroup label="直辖市">
        <option>北京</option>
        <option>上海</option>
    </optgroup>
    <optgroup label="省会城市">
        <option>杭州</option>
        <option>武汉</option>
    </optgroup>

</select>
    <br/>
    个人介绍:<textarea name="desc">
</textarea>
<br/>
    <button type="submit">提交</button>
    <button type="reset">重置</button>
</form>
<!--
<form action="#" method="post" autocomplete="off">
    <label for="username">用户名:</label>
    <input type="text" name="username" id="username" value="" placeholder="请在此处输入用户名" required>
    密码:<input type="text" name="password">
    <button type="submit">提交</button>
</form>
-->

</body>
</html>